package com.coocaa.ops.plus.dashboard.v1.auth.yml;

import com.alibaba.nacos.api.config.annotation.NacosConfigurationProperties;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author bijiahao
 * @date : 2019/6/24.
 * @description 扩展模块登录信息配置
 */

@Data
@Component
@NacosConfigurationProperties(dataId = "admin-plus-config.yml", groupId = "${nacos.config.group}", autoRefreshed = true)
public class PlusConfigProperties {
    /**
     * 控制台名称
     */
    private String dashboardName;

    private List<ServiceInfo> service;

    @Data
    public static class ServiceInfo{
        private String name;
        private String url;
    }
}
